package com.chj.comp.common.es.document;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.frameworkset.orm.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *
 * @Description: 人员信息表
 * @Author cuihui
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PersonDataDocument implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    private String name;
    private String card;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(dataformat = "yyyy-MM-dd HH:mm:ss")
    private String createTime;
}
